<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html; charset=UTF-8" language="java"
	pageEncoding="UTF-8"%>
<%@include file="/common/taglibs.jsp"%>
<%@include file="/common/javascript.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml" id="teacherForm">
<head>
<title>老师设定</title>
<script type="text/javascript">
    var mainform;
    var viewType = "${viewType}";

    $(function(){
        mainform=$("#mainform");
        mainform.ligerForm();
        
        LG.setFormDefaultBtn(cancel, null );
    });
   
    function cancel(){
        var win = window.parent || window;
        if(win.dialog){
        	win.dialog.close();
        }
    }
 </script>
</head>

<body>
<table cellpadding="0" cellspacing="0" class="l-table-edit" style="width: 95%; margin-top: 10px; margin-left: 15px;">
<c:choose>
	<c:when test="${not empty messages}">
	<tr><td>&nbsp;</td></tr>
	<tr>
		<td align="right" class="l-table-edit-td" style="text-align: center;">${messages}</td>
	</tr>
	</c:when>
	<c:otherwise>
	<tr>
		<td align="right" class="l-table-edit-td" style="width:15%;">老师编号:</td>
		<td align="left" class="l-table-edit-td" style="width:35%;">${command.terId}</td>
		<td align="right" class="l-table-edit-td" style="width:15%;">老师姓名:</td>
		<td align="left" class="l-table-edit-td" style="width:35%;">${command.terName}</td>
	</tr>
	<tr>
		<td align="right" class="l-table-edit-td">老师性别:</td>
		<td align="left" class="l-table-edit-td" >${command.terSex == "0" ? "男" : "女" }</td>
		<td align="right" class="l-table-edit-td">老师电话:</td>
		<td align="left" class="l-table-edit-td">${command.terTel}</td>
	</tr>
	<tr>
		<td align="right" class="l-table-edit-td" valign="top">老师邮箱:</td>
		<td align="left" class="l-table-edit-td">${command.terMail}</td>
	</tr>
	</c:otherwise>
</c:choose>
</table>
</body>
</html>
